package cn.sicnu.cs.employment.service;

import cn.sicnu.cs.employment.domain.entity.*;

import java.util.List;
import java.util.Set;

public interface IEmployeeService {
    void addUserInfo(EmployeeInfo userInfo, Long userId);

    EmployeeInfo getUserInfoByUserId(Long userId);
    EmployeeInfo getUserInfoById(Long empId);

    void updateHeadImg(Long userId, String path);

    String getHeadImg(Long id);

    boolean isUserInfoExisted(Long userId);

    Set<EmployeeExpEducation> getEducationExp(Long id);

    Set<EmployeeExpInternship> getInternshipExp(Long id);

    Set<EmployeeExpProject> getProjectExp(Long id);

    Long getCurrentEmpId();

    String getEmpNameById(Long empId);

    Set<EmployeeCompany> getAllEmpComByEmpId(Long empId);

    Set<EmployeeExpProject> getProjectExp(Long id, Long comId);

    void saveProjectExp(EmployeeExpProject bgToSave);

    boolean isBgAvailable(Long id);

    void deleteProjectExp(Long id);

    EmployeeExpProject getProjectExpById(Long expProId);

    void updateEmpInfo(EmployeeInfo build);

    Long findComIdByEmpId(Long currentEmpId);

    void addBackExpSelf(String content, Long id);
}
